<!DOCTYPE html>
<html>
<head lang="en">
    <title></title>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="__STATIC__/css/common/bootstrap.min.css" />
    <link rel="stylesheet" href="__STATIC__/css/common/layout.css" />
    <link rel="stylesheet" href="__STATIC__/css/common/icon.ali.css" />
    <link rel="stylesheet" href="__STATIC__/css/individual/login_home.css"/>

    <script type="text/javascript" src="__STATIC__/js/common/jquery-1.9.1.min.js"></script>
    <script type="text/javascript">
        window.top.location.href = '/';
    </script>
</head>
<body class="hide">
    <p class="header_text">
        <a _href="/my_account" class="js_href_a">账号设置</a>
        &nbsp;|&nbsp;
        <a href="/user_logout?user_id={$Think.session.user_id}&back=/home_page/login?backUrl=/home_page/login_home&currentUrl=1">退出</a>
    </p>
    <img id="headerImg" src="{$Think.session.head_img_url}" onerror="this.src='/Public/static/images/default_user_face.png'" class="favce_cover" alt="">
    <p class="nickname" id="nickname">{$Think.session.user_nicename}</p>
    <div class="control">
        <div class="work">
            <a _href="/working_place" class="js_href_a">
                <span class="iconfont icon-diannao"></span><br>
                <span>工作台</span>
            </a>
        </div>
        <div class="resource">
            <a _href="/my_resource" class="js_href_a">
                <span class="iconfont icon-sucai"></span><br>
                <span>素材创作</span>
            </a>
        </div>
        <div class="send">
            <a _href="/sending_log" class="js_href_a">
                <span class="iconfont icon-jilu"></span><br>
                <span>群发列表</span>
            </a>
        </div>
        <div class="msg">
            <a _href="/my_message" class="js_href_a">
                <span class="iconfont icon-msg"></span><br>
                <span>我的消息</span>
            </a>
        </div>
    </div>
</body>
<script type="text/javascript">
    var userNickName = $('#nickname').text();

    $('.regi-login', window.top.document).addClass('hide');
    $('.userN-workL', window.top.document).removeClass('hide').find('.hilight-link').text(userNickName);

    $(document).on('click', '.js_href_a', function(){
        var hrefUrl = $(this).attr('_href') || '';
        if (hrefUrl) {
            window.top.location.href = hrefUrl;
        }
    });
</script>
</html>